<h3>Giới thiệu về công ty</h3>
<style type="text/css">
td{
	padding:3px 5px
}
tr.title td{
	height:22px;
	font-weight:bold;
	text-align:center;
	background:#FFF
}
fieldset{
	width:400px;
	padding:30px;
	border:1px solid #CCC
}
legend{
	color:#09F
}
</style>
<script src="<?php echo baseurl."public/ckeditor/" ?>ckeditor.js"></script>
<div style="height:30px"></div>
<?php
require("libraries/intro.php");
$intro = new intro();
$data = $intro->getdata();
if(isset($_POST['submit'])){
	$val = $_POST['intro'];
	$intro->update($val);
	header("location:".baseurl."admin/?page=intro");
	exit();
}
?>
<form action="" method="post">
<fieldset>
	<legend>Giới thiệu</legend>
<table width="672" border="0">
  <tr>
    <td width="79">Mô tả </td>
    <td width="583">
    	<textarea cols="48" rows="6" class="ckeditor" name="intro"><?php echo $data['intro_value']; ?></textarea>
    </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input type="submit" name="submit" value="Update"/></td>
  </tr>
</table>
</fieldset>
</form>